if(CMAKE_C_COMPILER_ID MATCHES ".*Clang.*" OR CMAKE_CXX_COMPILER_ID MATCHES ".*Clang.*")
  set(CMAKE_COMPILER_IS_CLANG 1)
endif()
